package com.fen;

import com.opensymphony.xwork2.ActionSupport;

public class UserAction extends ActionSupport{

	private static final long serialVersionUID = 8116744523551508773L;
	
	private UserService userService;

	public void setUserService(UserService userService) {
		this.userService = userService;
	}


	@Override
	public String execute() throws Exception {
		System.out.println("UserAction.execute()");
		userService.insert();
		return NONE;
	}
}
